package entity;

import java.util.ArrayList;
import java.util.List;

public class Driver {
	private int driverId;
	private String userName;
	private String realName;
	private String password;
	private String phone;
	private DriverState driverState;
	private List<Order> orderList = new ArrayList<Order>();
	public int getDriverId() {
		return driverId;
	}
	public void setDriverId(int driverId) {
		this.driverId = driverId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public DriverState getDriverState() {
		return driverState;
	}
	public void setDriverState(DriverState driverState) {
		this.driverState = driverState;
	}
	public List<Order> getOrderList() {
		return orderList;
	}
	public void setOrderList(List<Order> orderList) {
		this.orderList = orderList;
	}
	public Driver(int driverId, String userName, String realName, String password, String phone,
			DriverState driverState, List<Order> orderList) {
		super();
		this.driverId = driverId;
		this.userName = userName;
		this.realName = realName;
		this.password = password;
		this.phone = phone;
		this.driverState = driverState;
		this.orderList = orderList;
	}
	public Driver() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	
}
